import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;


@SuppressWarnings("serial")
public class ContainersGUI extends JPanel {

	private static JPanel containerPanel, options;
	
	public ContainersGUI() {
		super(new BorderLayout(), true);

		// Titled Border
		containerPanel = new JPanel(new BorderLayout(), true);
		containerPanel.setBorder(BorderFactory.createTitledBorder("Containers"));
		containerPanel.setPreferredSize(new Dimension(100,100));

		// Containers Graph
		containerPanel.add(new ContainersGraph(), BorderLayout.CENTER);
		
		// Containers Options
		options = new JPanel(new BorderLayout(), true);
		options.setPreferredSize(new Dimension(120,100));
		options.add(new JLabel("General Stats", JLabel.CENTER));
		containerPanel.add(options, BorderLayout.SOUTH);

		// Build the window
		this.add(containerPanel, BorderLayout.CENTER);
	}

}
